package java_thinking.unit_10.exercise;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-04-17 19:23
 */

public class InnerClassLoadTime {
    static {
        System.out.println("外部类静态方法");
    }
    static class Inner{
        static {
            System.out.println("静态内部类方法");
        }
        public Inner() {
            System.out.println("静态内部类构造方法");
        }

    }

    public InnerClassLoadTime() {
        System.out.println("外部类构造方法");
    }

    public class Inner1{
        public Inner1() {
            System.out.println("普通内部类构造方法");
        }
    }

}

class test{
    public static void main(String[] args) {
        new InnerClassLoadTime.Inner();

    }
}
